<script type="text/javascript">
    $(document).ready(function(){
       $.validator.messages.required = "";
       $.validator.messages.date = "";
       $("#frmsuadichvu").validate();
    });
</script>
<?php
    $MaDV = $_GET['id'];
    $dichvu = new dichvubs();
    $dichvu->MaDV = $MaDV;
    $danhsach = $dichvu->LayDanhSach();
?>
<h3>Sửa Thông Tin Dịch Vụ</h3>
<form id="frmsuadichvu" action="index.php?do=chude_sua_xuly" method="POST">
    <table class="form">
        <input type="hidden" value="<?php echo $danhsach[0]['MaDV']; ?>" name="MaDV" />
        <tr>
            <td>Tên dịch vụ</td>
            <td><input type="text" name="TenDV" class="required" value="<?php echo $danhsach[0]['TenDV'] ?>"/></td>
        </tr>
        <tr>
            <td>Mô tả</td>
            <td><input type="text" name="MoTa" value="<?php echo $danhsach[0]['MoTa'] ?>" /></td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <input type="submit" name="btnSua" value="Cập Nhật" />
            </td>
        </tr>
    </table>
    <a href="index?do=dichvu">Các Dịch Vụ</a>
</form>>

